/**
* @describe 
* @author 游金宇(KM)
* @date 2024-09-12 11:35:02
*/


import { ResUpload } from "../../util/CosUtils";
import { BaseAPI } from "../BaseAPI";


export class COSAPI extends BaseAPI {

    /**获取COS上传参数 */
    async getCosUploadParams() {
        return await this.api<ResUpload>(
            {
                url: '/v1/api/upload',
                method: 'POST',
            })
    }

}
